package com.bw.bean;

public class CArticle {
	private Integer id;
	private String title;
	private String picture;
	private Integer channelId;
	private String chname;
	private Integer categoryId;
	private String caname;
	private String content;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public Integer getChannelId() {
		return channelId;
	}
	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}
	public String getChname() {
		return chname;
	}
	public void setChname(String chname) {
		this.chname = chname;
	}
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public String getCaname() {
		return caname;
	}
	public void setCaname(String caname) {
		this.caname = caname;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Override
	public String toString() {
		return "CArticle [id=" + id + ", title=" + title + ", picture=" + picture + ", channelId=" + channelId
				+ ", chname=" + chname + ", categoryId=" + categoryId + ", caname=" + caname + ", content=" + content
				+ "]";
	}
	public CArticle(Integer id, String title, String picture, Integer channelId, String chname, Integer categoryId,
			String caname, String content) {
		super();
		this.id = id;
		this.title = title;
		this.picture = picture;
		this.channelId = channelId;
		this.chname = chname;
		this.categoryId = categoryId;
		this.caname = caname;
		this.content = content;
	}
	public CArticle() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
